{% extends 'base.html' %}
{% load static %}
{% block title %}
注册
{% endblock %}
{% block noon %}
<script src="{% static 'house/js/regist.js' %}"></script>
<div class="registration-form">
	 <div class="container">
		 <ol class="breadcrumb">
		  <li><a href="{% url 'house:login' %}">主页面</a></li>
		  <li class="active">注册</li>
		 </ol>
		 <h2>注册</h2>
		 <div class="col-md-6 reg-form">
			 <div class="reg">
				 <p>欢迎，请填写下列信息</p>
				 <form action="{% url 'house:regist' %}" method="post" enctype="multipart/form-data">
					 {% csrf_token %}
					 <ul>
						 <li class="text-info">用户名: </li>
						 <li><input type="text" value="" name="account"></li>
                    </ul>
					 <ul>
						 <li class="text-info">昵称: </li>
						 <li><input type="text" value="" name="name"></li>
					 </ul>
                     <ul>
						 <li class="text-info">密码: </li>
						 <li><input type="password" value="" name="pwd"></li>
					 </ul>
					 <ul>
						 <li class="text-info">确认密码:</li>
						 <li><input type="password" value="" name="checkpwd"></li>
					 </ul>
                     <ul>
						 <li class="text-info">邮箱: </li>
						 <li><input type="text" value="" name="email"></li>
                         <li class="text-info"></li>
                         <li><input type="button" value="获取邮箱验证码" id="emailget"></li>
					 </ul>
					 <ul>
						 <li class="text-info">输入验证码:</li>
						 <li><input type="text" value="" name="yzm"></li>
					 </ul>
					 <ul>
						 <li class="text-info">头像上传</li>
						 <li><input type="file" name="userimg"></li>
					 </ul>
                     <input type="hidden" value="yzm" id="yzm">
					 <input type="button" name="button" value="立即注册">
                 </form>
			 </div>
		 </div>

	 </div>
</div>
{% endblock %}
		